﻿#region Using Statements
using Microsoft.Xna.Framework;
using System;
using Microsoft.Xna.Framework.Graphics;
#endregion

namespace RhinoXNA
{
    public class Enemy : Character
    {
        private bool isDead = false;
        private ILevel _level;

        public float MovementSpeed { get; set; }

        public bool IsDead
        {
            get { return isDead; }
        }

        public Enemy(Model modelToLoad, Vector3 position, Vector3 scale, float boundingRadius, ILevel level) 
            : base(modelToLoad, position, scale, boundingRadius)
        {
            _level = level;
            this.MovementSpeed = 1.0f;
        }

        public void Update(GameTime gameTime)
        {
            /*this.Rotation = new Vector3(this.Rotation.X, this.Rotation.Y + 0.1f, this.Rotation.Z);
            this.Position = new Vector3((float)(this.Position.X + (MovementSpeed * (5 * Math.Sin(gameTime.TotalGameTime.Seconds)))),
                this.Position.Y, this.Position.Z);*/
        }

        public virtual void Kill()
        {
            isDead = true;
        }
    }
}
